
import request from '@/plugins/request'
import url from '@/plugins/url'



export function get_order_all(data) {
  return request({
    url: url('/api/order/order_all'),
    method: 'POST',
    data: data
  })
}

export function del_order(data){
  return request({
  	url: url('/api/order/del'),
  	method:'POST',
  	data:data
  }) 

}

/**
 * 获取订单总条数
 * @param  {[type]} data [description]
 * @return {[type]}      [description]
 */
export function get_order_total(data) {
  return request({
    url: url('/api/order/order_count'),
    method: 'POST',
    data: data
  })
}